package cn.thrjit.feign;

import cn.thrjit.fallbck.AppLoginFeignClientFallbackFactory;
import cn.thrjit.pojo.param.RegisterSaveLoginParam;
import cn.thrjit.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "kudi-driving-service-uaa",path = "/app/login",contextId = "AppLoginFeignClient",fallbackFactory = AppLoginFeignClientFallbackFactory.class)
public interface AppLoginFeignClient {
    @PostMapping
    R<Void> save(@RequestBody RegisterSaveLoginParam registerSaveLoginParam);
}
